/*
#include "Connector.h"

template<class SERVICE_HANDLER>
void Connector<SERVICE_HANDLER>::connect(SERVICE_HANDLER *sh, const InetAddress &remoteAddr, ConnectionMode mode)
{
  connect_service_handler(sh, remoteAddr, mode);
  activate_service_handler(sh);
}

template<class SERVICE_HANDLER>
void Connector<SERVICE_HANDLER>::connect_service_handler(SERVICE_HANDLER * sh,const InetAddress &addr, ConnectionMode mode)
{
  connector_.open(addr);
  connector_.setStream(sh->peer());
}

template<class SERVICE_HANDLER>
void Connector<SERVICE_HANDLER>::activate_service_handler(SERVICE_HANDLER *sh)
{
  sh->open();
}


template<class SERVICE_HANDLER>
void Connector<SERVICE_HANDLER>::handleEvent(Handle h, EventType et)
{}

template<class SERVICE_HANDLER>
int Connector<SERVICE_HANDLER>::registerHandler(SERVICE_HANDLER *sh, ConnectionMode mode)
{ return 0;}

template<class SERVICE_HANDLER>
void Connector<SERVICE_HANDLER>::complete(Handle h)
{}
*/
